package lovo.practice_7_14.dao;

import lovo.practice_7_14.pojo.UserDO;

public interface UserDAO {
    /**
     * 根据用户名和密码查询用户
     *
     * @param username
     * @param pwd
     * @return
     */
    UserDO getByUsernameAndPwd(String username, String pwd);

    void update(UserDO userDO);

    UserDO getById(String account);
}
